/**
 *  Description: Layout 好乱啊
 *  Author: Szh
 */

@import "varibles";
.align-center {
    text-align: center;
}
.align-left {
    text-align: left;
}
.vertical-middle {
    vertical-align: middle;
}
.vertical-top {
    vertical-align: top;
}
.align-right {
    text-align: right;
}
.pull-left {
    float: left;
}
.pull-right {
    float: right !important;
}
.inline-block{
    display:inline-block;
}
.underline {
    text-decoration: underline;
}
// clear float
.clearfix:after,
.clearfix:before {
    content: "";
    display: table;
    clear: both;
}
.cursor {
    cursor: pointer;
}
.text-over-flow-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}
.hide{
    display:none;
}
.font-size-14 {
  font-size: 14px
}
.font-size-16 {
  font-size: 16px
}
.font-size-30 {
  font-size:30px;
}
.c333{
  color:#333;
}
.c666{
  color:#666;
}
.c999{
  color:#999;
}
.w-100 {
  width: 100%;
}
.custom-box {
    background: #fff;
    border: $caColorLightGray 1px solid;
}
.custom-box-border-top-none {
    background: #fff;
    border: $caColorLightGray 1px solid;
    border-top: none;
}

.el-input {
    vertical-align: middle
}

.el-select {
    vertical-align: middle
}
/****Safari浏览器下拉列表小箭头居下显示调整为中间***/

@media screen and (-webkit-min-device-pixel-ratio) {
    .el-select .el-input .el-input__icon {
        top: 0;
    }
}
/*弹窗在IE下不显示*/
.el-dialog__wrapper {
    position: fixed !important;
}
.el-form-item__label {
    color: #666666
}
.el-form-item-m-b-0 {
    margin-bottom: 0
}
.el-form-item__content-font-12 .el-form-item__content {
    font-size: 12px;
}
/* el-dialog下的表单布局*/
.cm-el-dialog{
   .el-form{
       padding: 0 70px 0 50px;
       .el-select-100{
           width: 100%;
       }
   }
}
/*消息框*/
.el-message{
    min-width: 100px!important;
}
/*列表信息颜色*/
.ca-info-color {
    font-weight: normal;
    font-family: MicrosoftYaHei;
    font-size: 14px;
    color: #909cb8;
}
.ca-info-color-red {
    color: red;
    font-weight: normal;
    font-family: MicrosoftYaHei;
    font-size: 14px;
} 
.cms-detail-box{
    .el-tabs__nav-scroll{
        padding:0 30px;
    }
    .el-tabs__item{
        height:60px;
        line-height:60px;
    } 
    .el-tabs__content{
        padding:0 30px;
    }
    // .el-form-item__label{
    //     text-align: left;
    //     padding-right:20px;
    // }
}
.el-dialog .el-dialog__body{
    padding:20px;
}
//覆盖饿了吗的tree
.ca_permission{
    //覆盖饿了吗，悬浮阴影
    .el-tree-node__content{
        &:hover{
            background: transparent !important;
        }
    }
    .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{
        background: transparent !important;
    }
   .el-checkbox__input {
    margin-bottom: 4px;
}
    .el-dialog--tiny{
        width: 740px;
    }
    .el-dialog__header{
        padding-bottom: 0px;
        text-align: center;
        color: #333333;
        font-family: MicrosoftYaHei;
        font-size: 17px;
    }
    .el-dialog__body{
        padding:25px ;
        .el-form-item__content{
            padding:0px 65px ;
        }
        .el-checkbox-group{
            .el-checkbox__label{
                font-size: 12px;
                color: #666666;
            }
        }
    }
    //隐藏小三角
    .ca_per_tree .el-tree-node__expand-icon{
        display: none;
    }
    .ca_per_tree>.el-tree-node>.el-tree-node__children>.el-tree-node>.el-tree-node__content{
        width:16%;
        float: left;
    }
     .ca_per_tree>.el-tree-node>.el-tree-node__children>.el-tree-node>.el-tree-node__children{
         width:84%;
        float: left;
    }
    .ca_per_tree>.el-tree-node>.el-tree-node__children>.el-tree-node>.el-tree-node__children>.el-tree-node{
        width:16%;
        float: left;
    }
    //一级样式
    .ca_per_tree>.el-tree-node>.el-tree-node__content>.el-tree-node__label{
       font-family: MicrosoftYaHei;
        font-size: 16px;
        line-height: 24px;
        color: #333;
    }
    //二级样式
    .ca_per_tree>.el-tree-node>.el-tree-node__children>.el-tree-node>.el-tree-node__content>.el-tree-node__label{
        font-family: MicrosoftYaHei;
        font-size: 14px;
        line-height: 24px;
        color: #333;
    }
    //三级样式
    .ca_per_tree>.el-tree-node>.el-tree-node__children>.el-tree-node>.el-tree-node__children>.el-tree-node>.el-tree-node__content>.el-tree-node__label{
        font-family: MicrosoftYaHei;
        font-size: 12px;
        line-height: 24px;
        color: #666;
    }
   .ca_per_tree>.el-tree-node{
       margin-top: 20px;
       //background: palegreen;
   }
}
.el-date-editor{
    .el-input__icon{
        width:15px;
    }
    .el-input__inner{
        padding:0 20px 0 25px !important;
        font-size:13px;
    }
}
.el-input-group__append, .el-input-group__prepend{
    padding:0 10px;
}
.el-dialog__body {
    .el-table td, .el-table th{
        padding:0;
        min-height:40px;
    }
}
//覆盖饿了吗的disable样式
.ca-pwdDisabled.el-input.is-disabled .el-input__inner{
    background-color: #fff !important;
    border-color:  #bfcbd9;
    color: #1f2d3d;
}
.el-form-item.is-error .tagBox{
    border-color: #f56c6c
}